<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ page import="com.diligreat.cache.Cache,java.util.HashMap" %>
<%@ include file="/WEB-INF/static/header.jsp" %>
<div id="mystuff">
	<%@ include file="/WEB-INF/jsp/member/leftcol.jsp"%>
	<div class="sContent">
		<c:if test="${empty articleslist}">
			<div class="num"><%=Cache.cache.getEachTitle(session.getAttribute("lang")).getNoarticle() %></div>
		</c:if>
		<c:if test="${not empty articleslist}">
			<c:forEach items="${articleslist}" var="al" varStatus="status">
				<div class="<c:if test="${status.count==1}">sContentEachOn</c:if><c:if test="${status.count!=1}">sContentEach</c:if>">
					<div class="sCon">
						<div class="sConTop">${al.title}</div>
						<div class="sConBot"><div class="sConBotLeft"><%=Cache.cache.getEachTitle(session.getAttribute("lang")).getAticle() %></div><div class="sConBotRight"><a href="article.htm?pageid=${al.id}"><%=Cache.cache.getEachTitle(session.getAttribute("lang")).getReadnow() %></a></div></div>
						<div class="sInfoSummery">${al.precontent}</div>
						<div class="sInfoPic">${al.pic}</div>
					</div>
				</div>
			</c:forEach>
		</c:if>
	</div>
	<div class="sArticle">
		<c:if test="${not empty articleslist}">
			<c:forEach items="${articleslist}" var="al" begin="0" end="0" varStatus="status">
				<div class="sArticleEach">
					<div class="wordTile">${al.title}</div>
					<div class="wordKey"><div class="keyArticle"><%=Cache.cache.getEachTitle(session.getAttribute("lang")).getAticle() %></div></div>
					<div class="wordImg"><img src="images/cover/${al.pic}" width="200px"></div>
					<div class="wordSummery">${al.precontent}</div>
					<div class="readmore"><a href="article.htm?pageid=${al.id}"></a></div>
				</div>
			</c:forEach>
		</c:if>
	</div>
</div>
<%@ include file="/WEB-INF/static/footer.jsp" %>